package com.gzhryc.shared_device.bxscn.code.dao.db;

import java.util.Date;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.JoinField;
import com.gzhryc.jdbc.annotaion.Table;

@Table(name="bxscn_shop_fee_template")
public class BXSCNShopFeeTemplate {

	@Id(autoIncrement = 1000)
    @Column(notNull = true, note = "模版ID")
    protected Long id;

    @Column(name = "user_id", notNull = true, note = "用户ID")
    protected Long userId;

    @Column(notNull = true,length = 64, note = "模版标题")
    protected String title;
    
    @Column(name = "update_date", autoUpdateTime = true, note = "最后修改时间")
    protected Date updateDate;

    @Column(name = "create_date",notNull = true)
    protected Date createDate;

    @JoinField(name = "name", fromField = "user_id", toTable = "user_info",type="LEFT")
    protected String userName;
    
    private Long itemCount;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getItemCount() {
		return itemCount;
	}

	public void setItemCount(Long itemCount) {
		this.itemCount = itemCount;
	}
	
	
}
